package com.mysiteforme.admin.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.mysiteforme.admin.base.DataEntity;

/**
 * <p>
 * banner表
 * </p>
 *
 * @author wangl
 * @since 2019-09-18
 */
@TableName("electricity_banner")
public class ElectricityBanner extends DataEntity<ElectricityBanner> {

    private static final long serialVersionUID = 1L;

    /**
     * banner路径
     */
	@TableField("banner_url")
	private String bannerUrl;
    /**
     * 跳转链接
     */
	private String link;
    /**
     * 状态
     */
	private Integer status;
    /**
     * 类型
     */
	@TableField("banner_type")
	private Integer bannerType;
    /**
     * 排序
     */
	@TableField("banner_sort")
	private String bannerSort;

	public String getBannerUrl() {
		return bannerUrl;
	}

	public void setBannerUrl(String bannerUrl) {
		this.bannerUrl = bannerUrl;
	}
	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getBannerType() {
		return bannerType;
	}

	public void setBannerType(Integer bannerType) {
		this.bannerType = bannerType;
	}
	public String getBannerSort() {
		return bannerSort;
	}

	public void setBannerSort(String bannerSort) {
		this.bannerSort = bannerSort;
	}


	@Override
	public String toString() {
		return "ElectricityBanner{" +
			", bannerUrl=" + bannerUrl +
			", link=" + link +
			", status=" + status +
			", bannerType=" + bannerType +
			", bannerSort=" + bannerSort +
			"}";
	}
}
